package com.jade.zsy.store.entity;

import com.jade.bss.db.IdEntity;

import javax.persistence.Column;
import java.util.Date;

/**
 * @version 1.0--Created by wq on 2017/7/1.
 * @Description:附加指标
 */
public class Norm extends IdEntity {

    @Column(name = "store_id")
    private long storeId;       /*商店id*/

    @Column(name = "standard",updatable = true,nullable = true,length = 1000)
    private String standard;    /*指标*/

    @Column(name = "type")
    private int type;       /*1-数量;2-占比;3-时间*/

    @Column(name = "amount")
    private int amount;     /*数量*/

    @Column(name = "proportion")
    private double proportion;/*占比*/

    @Column(name = "time")
    private Date time;/*时间*/
}
